package com.wanmait.translate.pojo;

import com.wanmait.translate.supplier.mapper.SupplierTravelMapper;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SupplierTravel implements Serializable {

    private Integer id;

    /**
	* 申请人ID
	*/
    private SystemUser systemUser;

    /**
	* 出差人数
	*/
    private Integer travelPersonCount;

    /**
	* 出差目的
	*/
    private String purpose;

    /**
	* 计划出差日期
	*/
    private Date planDate;

    /**
	* 预计出差天数
	*/
    private Integer days;

    /**
	* 预计金额
	*/
    private BigDecimal money;

    /**
	* 行程计划(会抄送给行政准备)
	*/
    private String travelPlan;

    /**
	* 内容计划
	*/
    private String contentPlan;

    /**
	* 出差审核人(用户id)
	*/
    private SystemUser auditUserId;
    /**
     * 出差审核人
     */
    private String auditUser;

    /**
	* 出差审核意见
	*/
    private String auditOpinion;

    /**
	* 出差审核状态(0通过 1驳回)
	*/
    private Integer auditState;

    /**
	* 管理费用授权表id（运营填写，暂时没有）
	*/
    private SystemUser accreditId;

    /**
	* 运营授权状态(0未授权 1已授权)
	*/
    private Boolean accreditState;

    /**
	* 运营授权人ID
	*/
    private SystemUser accreditUserId;

    /**
	* 资金计划表id（财务填写，暂时没有）
     * 还没有相应的表
	*/
    private Integer capitalId;

    public SystemUser getSystemUser() {
        return systemUser;
    }

    public void setSystemUser(SystemUser systemUser) {
        this.systemUser = systemUser;
    }

    public SystemUser getAuditUserId() {
        return auditUserId;
    }

    public void setAuditUserId(SystemUser auditUserId) {
        this.auditUserId = auditUserId;
    }

    public String getAuditUser() {
        return auditUser;
    }

    public void setAuditUser(String auditUser) {
        this.auditUser = auditUser;
    }

    public SystemUser getAccreditUserId() {
        return accreditUserId;
    }

    public void setAccreditUserId(SystemUser accreditUserId) {
        this.accreditUserId = accreditUserId;
    }

    public SystemUser getCapitalUserId() {
        return capitalUserId;
    }

    public void setCapitalUserId(SystemUser capitalUserId) {
        this.capitalUserId = capitalUserId;
    }

    /**
	* 资金平衡状态(0未完成 1完成)
	*/
    private Boolean capitalState;

    /**
	* 资金平衡操作人ID
	*/
    private SystemUser capitalUserId;

    /**
	* 是否删除(0正常 1逻辑删除）
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }



    public Integer getTravelPersonCount() {
        return travelPersonCount;
    }

    public void setTravelPersonCount(Integer travelPersonCount) {
        this.travelPersonCount = travelPersonCount;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Date getPlanDate() {
        return planDate;
    }

    public void setPlanDate(Date planDate) {
        this.planDate = planDate;
    }

    public Integer getDays() {
        return days;
    }

    public void setDays(Integer days) {
        this.days = days;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getTravelPlan() {
        return travelPlan;
    }

    public void setTravelPlan(String travelPlan) {
        this.travelPlan = travelPlan;
    }

    public String getContentPlan() {
        return contentPlan;
    }

    public void setContentPlan(String contentPlan) {
        this.contentPlan = contentPlan;
    }


    public String getAuditOpinion() {
        return auditOpinion;
    }

    public void setAuditOpinion(String auditOpinion) {
        this.auditOpinion = auditOpinion;
    }

    public Integer getAuditState() {
        return auditState;
    }

    public void setAuditState(Integer auditState) {
        this.auditState = auditState;
    }

    public SystemUser getAccreditId() {
        return accreditId;
    }

    public void setAccreditId(SystemUser accreditId) {
        this.accreditId = accreditId;
    }

    public Boolean getAccreditState() {
        return accreditState;
    }

    public void setAccreditState(Boolean accreditState) {
        this.accreditState = accreditState;
    }


    public Integer getCapitalId() {
        return capitalId;
    }

    public void setCapitalId(Integer capitalId) {
        this.capitalId = capitalId;
    }

    public Boolean getCapitalState() {
        return capitalState;
    }

    public void setCapitalState(Boolean capitalState) {
        this.capitalState = capitalState;
    }



    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(systemUser);
        sb.append(", travelPersonCount=").append(travelPersonCount);
        sb.append(", purpose=").append(purpose);
        sb.append(", planDate=").append(planDate);
        sb.append(", days=").append(days);
        sb.append(", money=").append(money);
        sb.append(", travelPlan=").append(travelPlan);
        sb.append(", contentPlan=").append(contentPlan);
        sb.append(", auditUserId=").append(auditUserId);
        sb.append(", auditOpinion=").append(auditOpinion);
        sb.append(", auditState=").append(auditState);
        sb.append(", accreditId=").append(accreditId);
        sb.append(", accreditState=").append(accreditState);
        sb.append(", accreditUserId=").append(accreditUserId);
        sb.append(", capitalId=").append(capitalId);
        sb.append(", capitalState=").append(capitalState);
        sb.append(", capitalUserId=").append(capitalUserId);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}